package com.hndct.util;

import java.util.Random;

public class RandomUtil {
	
	public static int[] getMinRandom(int num){
		int[] result = new int[60];
		
		Random r = new Random();
		for(int i = 0;i<num;i++){
			int randomNum = r.nextInt(60);
			result[randomNum]++;
		}
		
		return result;
	}
	
	public static int getRandomNum(int num){
		Random r = new Random();
		return r.nextInt(num);
	}

}
